package com.macro.mall.mapper;

import com.macro.mall.model.PmSpecPricePlanPrptyRel;
import com.macro.mall.model.PmSpecPricePlanPrptyRelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PmSpecPricePlanPrptyRelMapper {
    long countByExample(PmSpecPricePlanPrptyRelExample example);

    int deleteByExample(PmSpecPricePlanPrptyRelExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmSpecPricePlanPrptyRel record);

    int insertSelective(PmSpecPricePlanPrptyRel record);

    List<PmSpecPricePlanPrptyRel> selectByExample(PmSpecPricePlanPrptyRelExample example);

    PmSpecPricePlanPrptyRel selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmSpecPricePlanPrptyRel record, @Param("example") PmSpecPricePlanPrptyRelExample example);

    int updateByExample(@Param("record") PmSpecPricePlanPrptyRel record, @Param("example") PmSpecPricePlanPrptyRelExample example);

    int updateByPrimaryKeySelective(PmSpecPricePlanPrptyRel record);

    int updateByPrimaryKey(PmSpecPricePlanPrptyRel record);

    int updateStatusBySkuId(PmSpecPricePlanPrptyRel record);
}